
body {
  padding: 0;
  margin: 0;
  background: -moz-linear-gradient(-45deg, #183850 0, #183850 25%, #192c46 50%, #22254c 75%, #22254c 100%);
  background: -webkit-linear-gradient(-45deg, #183850 0, #183850 25%, #192c46 50%, #22254c 75%, #22254c 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.chat-thread {
  margin: 24px auto 0 auto;
  padding: 0 20px 0 0;
  list-style: none;
  overflow-y: scroll;
  overflow-x: hidden;
}

.chat-thread li {
  position: relative;
  clear: both;
  display: inline-block;
  padding: 16px 40px 16px 20px;
  margin: 0 0 20px 0;
  font: 16px/20px 'Noto Sans', sans-serif;
  border-radius: 10px;
  background-color: rgba(25, 147, 147, 0.2);
  animation: show-chat-even 0.8s ease-in;
  float:left;
  margin-left: 80px;
  color: #0EC879;
}
/*出现圆球*/
.chat-thread li:before {
  position: absolute;
  top: 0;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  content: '';
  left: -80px;
  background-image: url();
}


/* 设置三角形 */
.chat-thread li:after {
  position: absolute;
  top: 15px;
  content: '';
  width: 0;
  height: 0;
  border-top: 15px solid rgba(25, 147, 147, 0.2);
  border-left: 15px solid transparent;
  left: -15px;
}

.chat-window {
  position:fixed;
  bottom: 80px;
}
.chat-list{
  position:absolute;
  bottom: 75px;
  left: 80px;
  width: 80px;
  height: 50px;
}

.chat-list select{
  width: 80px;
  height: 40px;
  left: 100px;
}

.chat-window-message {
  width: 100%;
  height: 48px;
  font: 32px/48px 'Noto Sans', sans-serif;
  background: none;
  color: #0AD5C1;
  border: 0;
  border-bottom: 1px solid rgba(25, 147, 147, 0.2);
  outline: none;
}

.speak{
  clear:both;
  border:1px solid;
  margin: 0 auto;
}

@media all and (max-width: 767px) {
  .chat-thread {
    width: 90%;
    height: 260px;
  }

  .chat-window {
    left: 5%;
    width: 90%;
  }
}

@media all and (min-width: 768px) {
  .chat-thread {
    width: 50%;
    height: 320px;
  }
  .chat-window {
    left: 25%;
    width: 50%;
  }
}

@keyframes show-chat-even {

  0% {
    margin-left:-200px;
    transform: rotateZ(360deg);
  }

  100% {
    margin-left: 0;
  }

}
@keyframes show-chat-odd {
  0% {
    margin-right: -200px;
      transform: rotateZ(360deg);
  }

  100% {
    margin-right: 0;
  }
}
